﻿<%@ Page Language="C#" MasterPageFile="~/Frame.Master" AutoEventWireup="true" CodeBehind="fmCarMaintenanceForm.aspx.cs"
    Inherits="Auto.BusMan.fmCarMaintenanceForm" Title="车辆检修记录单" %>

<%@ Register Src="UserControl/ucFileManager.ascx" TagName="ucFileManager" TagPrefix="uc1" %>
<%@ Register Assembly="Auto.WebControls" Namespace="Auto.WebControls" TagPrefix="ComboBox" %>
<%@ Register Assembly="Auto.Web.Common" Namespace="Auto.Web.Common" TagPrefix="cc1" %>
<%@ Register Src="UserControl/ucPhraseDropDownList.ascx" TagName="ucPhraseDropDownList"
    TagPrefix="uc2" %>
<%@ Register Src="UserControl/ucDDLCarSelector.ascx" TagName="ucDDLCarSelector" TagPrefix="uc3" %>
<%@ Register src="UserControl/ucPhraseListBox.ascx" tagname="ucPhraseListBox" tagprefix="uc4" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentMain" runat="server">
    <div class="TitleDivStyle">
        <asp:Label ID="Label1" runat="server" Text="车辆检修记录单"></asp:Label>
    </div>
    <table style="width: 100%">
        <tr>
            <td>
                <ComboBox:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
                    <ComboBox:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="检修记录填写">
                        <table border="0" cellspacing="1" cellpadding="0" class="borderStyle" style="width: 100%;
                            margin: 0 auto;">
                            <tr>
                                <td class="table_body">
                                    车辆牌号
                                </td>
                                <td class="table_none" nowrap="nowrap">
                                    <uc3:ucDDLCarSelector ID="ucDDLCarSelector1" runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    检修类型
                                </td>
                                <td class="table_none" nowrap="nowrap">
                                    <uc2:ucPhraseDropDownList ID="ucMaintenanceTypePhraseDropDownList" runat="server"
                                        PhraseClass="BMMaintenanceType" />
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    检修时间
                                </td>
                                <td class="table_none">
                                    <ComboBox:DateTextBox ID="txtMaintenanceDate" runat="server"></ComboBox:DateTextBox><asp:RequiredFieldValidator
                                        ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtMaintenanceDate"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    检修厂家
                                </td>
                                <td class="table_none">
                                    <uc4:ucPhraseListBox ID="ucMaintenanceManufacturerPhraseDropDownList" PhraseClass="BMMTFactory" runat="server" />
                                    <asp:TextBox ID="txtMaintenanceManufacturerOther" runat="server"></asp:TextBox>
                                    备注：如果以后常用，请转到片语添加。
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    检修项目负责人
                                </td>
                                <td class="table_none">
                                    <asp:TextBox ID="txtMaintenancePrincipal" runat="server" CssClass="textcommon"></asp:TextBox><asp:RequiredFieldValidator
                                        ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtMaintenancePrincipal"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    更换主要部件
                                </td>
                                <td class="table_none">
                                    <asp:TextBox ID="txtMaintenanceMajorComponent" runat="server" CssClass="textcommon"
                                        Height="46px" TextMode="MultiLine" Width="323px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body" nowrap="nowrap" style="height: 22px">
                                    合计费用(元)
                                </td>
                                <td class="table_none" nowrap="nowrap" style="height: 22px">
                                    <asp:TextBox ID="txtTotalCost" runat="server" CssClass="textcommon"></asp:TextBox><asp:CompareValidator
                                        ID="CompareValidator1" runat="server" ControlToValidate="txtTotalCost" ErrorMessage="*"
                                        Operator="DataTypeCheck" Type="Currency"></asp:CompareValidator><asp:RequiredFieldValidator
                                            ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtTotalCost"
                                            ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body" nowrap="nowrap" style="height: 22px">
                                    外修项目清单
                                </td>
                                <td class="table_none" nowrap="nowrap" style="height: 22px">
                                    <uc1:ucFileManager ID="UcMaintenanceOutListFileManager" runat="server" />
                                </td>
                            </tr>
                            <tr id="checktr" runat="server">
                                <td>
                                </td>
                                <td>
                                    <asp:CheckBox ID="chkAddContinue" runat="server" Text="连续添加"></asp:CheckBox>&nbsp;[
                                    添加成功后直接跳回此页进行再次添加 ]
                                </td>
                            </tr>
                        </table>
                    </ComboBox:TabOptionItem>
                </ComboBox:TabOptionWebControls>
            </td>
        </tr>
        <tr>
            <td align="center">
                <asp:Button ID="btnSave" class="button_bak" runat="server" Text="保存" OnClick="btnSave_Click" />
                <input id="btnReset" class="button_bak" type="reset" value="重填" />
            </td>
        </tr>
        <tr>
            <td align="center">
                <asp:Label ID="lblMsg" runat="server" ForeColor="#0033CC"></asp:Label>
            </td>
        </tr>
    </table>
</asp:Content>
